<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>PrimeFaces</title>
                <style media="screen" type="text/css">
                    @import "../resources/css/style.css";  
                </style>
            </f:facet>
        </h:head>

        <h:body>

                    <h:form id="frmMenuBar">
                    <p:menu>
                        <p:submenu label="Dataset">
                            <p:menuitem value="Import dataset" url="../dataset/importds.xhtml" />
                            <p:menuitem value="Export dataset" url="../dataset/exportds.xhtml" />
                            <p:menuitem value="View all datasets" url="../allDatasets.xhtml" />
                        </p:submenu>
                        <p:submenu label="Similarity">
                            <p:menuitem value="Calculate similarity" url="../similarity/similarity.xhtml"/>
                        </p:submenu>
                        <p:submenu label="Administartor">
                            <p:menuitem value="Logout" url="#{login.logout()}" />
                            <p:menuitem value="Register new administrator" url="newAdministrator.xhtml" />
                            <p:menuitem value="View all administrators" url="allAdmins.xhtml" />
                        </p:submenu>
                    </p:menu>
                        </h:form>
            
        </h:body>

    </f:view>
</html>
